home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hplj21p6.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  40.1 KB  |  1,463 lines

  1. *%%
  2. *%% HP LaserJet 2100 Series PCL
  3. *%%
  4. *%% Copyright 1998 - 1999, Microsoft Corp.
  5. *%% All Rights Reserved.
  6. *%%
  7.  
  8. *%%
  9. *%% Global Entries
  10. *%%
  11. *GPDSpecVersion: "1.0"
  12. *GPDFileVersion: "1.0"
  13.  
  14. *%%% ======================
  15. *%%% Include standard GPD files
  16. *%%% =====================
  17. *Include: "StdNames.gpd"
  18. *Include: "ttfsub.gpd"
  19.  
  20. *%%
  21. *%% Model Specific Global Entries
  22. *%%
  23. *GPDFileName: "HPLJ21P6.GPD"
  24. *ModelName:   "HP LaserJet 2100 PCL6"
  25. *MaxCopies: 32767
  26. *PrintRate: 10
  27. *PrintRatePPM: 10
  28. *PrintRateUnit: PPM
  29.  
  30. *MasterUnits: PAIR(1200, 1200)
  31. *CodePage: 1252
  32. *ResourceDLL: "pclxl.dll"
  33. *PrinterType: PAGE
  34. *Personality: =PERSONALITY_PCLXL
  35.  
  36. *%%% ======================
  37. *%%% Macros
  38. *%%% ======================
  39. *Include: "pjl.gpd"
  40. *Include: "p6font.gpd"
  41. *Include: "p6disp.gpd"
  42.  
  43. *%%% ======================
  44. *%%% Main
  45. *%%% ======================
  46. *Include: "pclxl.gpd"
  47.  
  48. *%%% ======================
  49. *%%% DOC_SETUP, PAGE_FINISH
  50. *%%% , JOB_FINISH
  51. *%%% ======================
  52.  
  53. *Macros: PCLXLCommand
  54. {
  55. *%%% ---------------------------------------------------------------------------
  56. *%%% PCL XL Stream Header
  57. *%%% ---------------------------------------------------------------------------
  58. PCLXL_StreamHeader: ") HP-PCL XL;2;0;"
  59. +                   "Comment Copyright(c) 1999 Microsoft Corporation<0A>"
  60.  
  61. PCLXL_OpenDataSource: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource
  62.  
  63. *%%% ---------------------------------------------------------------------------
  64. *%%% BeginSession
  65. *%%%     Measure(ubyte) & UnitsPerMeasure(uint16_xy) & {ErrorReport(ubyte)}
  66. *%%% ---------------------------------------------------------------------------
  67. PCLXL_BeginSession1200: =uint16_xy "<b004b004>" =attr_ubyte =UnitsPerMeasure =ubyte
  68. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  69.  
  70. PCLXL_BeginSession600: =uint16_xy "<58025802>" =attr_ubyte =UnitsPerMeasure =ubyte
  71. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  72.  
  73. PCLXL_BeginSession300: =uint16_xy "<2c012c01>" =attr_ubyte =UnitsPerMeasure =ubyte
  74. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  75.  
  76. Width: %m{ RasterDataWidthInBytes }
  77. Height: %m{ RasterDataHeightInPixels }
  78. DataSize: %l{ NumOfDataBytes }
  79. FntHeight: %l{ FontHeight*600/TextYRes }
  80. FntNextGlyph: %l{ NextGlyph }
  81.  
  82. *%%% ---------------------------------------------------------------------------
  83. *%%% BeginRaster
  84. *%%%     ColorDepth(ubyte) & ColorMapping(ubyte) & SourceWidth(uint16) &
  85. *%%%     SourceWidth(uint16) & SourceHeight(uint16)
  86. *%%% ---------------------------------------------------------------------------
  87. PCLXL_CmdBeginRaster: =ubyte =e1Bit =attr_ubyte =ColorDepth
  88. +                     =ubyte =eDirectPixel =attr_ubyte =ColorMapping
  89. +                     =uint16 =Width =attr_ubyte =SourceWidth
  90. +                     =uint16 =Height =attr_ubyte =SourceHeight
  91. +                     =uint16_xy =Width =Height =attr_ubyte =DestinationSize
  92. +                     =BeginImage
  93. +                     =ubyte =eNoCompression =attr_ubyte =CompressMode
  94. +                     =ubyte "<00>" =attr_ubyte =StartLine
  95. +                     =uint16 =Height =attr_ubyte =BlockHeight
  96. +                     =ReadImage
  97.  
  98. PCLXL_CmdSendBlockData: =dataLength =DataSize "<0000>"
  99.  
  100. DestinationX: %l{DestX}
  101. DestinationY: %l{DestY}
  102. DestinationXRel: %l{DestYRel}
  103. DestinationYRel: %l{DestXRel}
  104. NumOfCopy: %l{NumOfCopies}
  105. PrintDir: %l{PrintDirInCCDegrees}
  106. FntName: =ubyte_array =uint16 "<1000>" "MS PCLXLFont " %3d{CurrentFontID}
  107. }
  108.  
  109. *%%% ======================
  110. *%%% Features and Options
  111. *%%% ======================
  112.  
  113. *%% Optional Tray 3
  114. *Feature: TRAY3
  115. {
  116.     *rcNameID: =TRAY3_DISPLAY
  117.     *FeatureType: PRINTER_PROPERTY
  118.     *DefaultOption: FALSE
  119.     *Option: FALSE
  120.     {
  121.         *rcNameID: =NOT_INSTALLED_DISPLAY
  122.         *Constraints: LIST(InputBin.Option5)
  123.     }
  124.     *Option: TRUE
  125.     {
  126.         *rcNameID: =INSTALLED_DISPLAY
  127.     }
  128. }
  129.  
  130. *Command: CmdStartJob
  131. {
  132.     *Order: JOB_SETUP.1
  133.     *Cmd: =PJL_STARTJOB =PJL_COMMENT 
  134. }
  135.  
  136. *%%% ======================
  137. *%%% DOC_SETUP
  138. *%%% ======================
  139.  
  140. *%%% ======================
  141. *%%% DOC_SETUP.1
  142. *%%% START PLJ JOB
  143. *%%% PAGEPROTECT
  144. *%%% TIMEOUT
  145. *Feature: PageProtect
  146. {
  147.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  148.     *DefaultOption: OFF
  149.     *Option: ON
  150.     {
  151.         *rcNameID: =ON_DISPLAY
  152.         *Command: CmdSelect
  153.         {
  154.             *Order: JOB_SETUP.2
  155.             *Cmd: =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  156.         }
  157.     }
  158.     *Option: OFF
  159.     {
  160.         *rcNameID: =OFF_DISPLAY
  161.         *Command: CmdSelect
  162.         {
  163.             *Order: JOB_SETUP.2
  164.             *Cmd: =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  165.         }
  166.     }
  167. }
  168. *%%% ======================
  169. *%%% DOC_SETUP.2
  170. *%%% ECONOMODE
  171. *Feature: Economode
  172. {
  173.     *rcNameID: =ECONOMODE_DISPLAY
  174.     *DefaultOption: Option1
  175.     *Option: Option1
  176.     {
  177.         *rcNameID: =ECONOMODE_DEFAULT_DISPLAY
  178.     }
  179.     *Option: Option2
  180.     {
  181.         *rcNameID: =ECONOMODE_OFF_DISPLAY
  182.         *Command: CmdSelect
  183.         {
  184.             *Order: JOB_SETUP.3
  185.             *Cmd: =PJL_ECONOMODE_OFF
  186.         }
  187.     }
  188.     *Option: Option3
  189.     {
  190.         *rcNameID: =ECONOMODE_ON_DISPLAY
  191.         *Command: CmdSelect
  192.         {
  193.             *Order: JOB_SETUP.3
  194.             *Cmd: =PJL_ECONOMODE_ON
  195.         }
  196.     }
  197. }
  198.  
  199. *%%% ======================
  200. *%%% DOC_SETUP.3
  201. *%%% RET
  202. *Feature: RET
  203. {
  204.     *rcNameID: =PRINT_QUALITY
  205.     *DefaultOption: Option1
  206.     *Option: Option1
  207.     {
  208.         *rcNameID: =PRINT_QUALITY_DEFAULT
  209.     }
  210.     *Option: Option2
  211.     {
  212.         *rcNameID: =PRINT_QUALITY_LIGHT
  213.         *Command: CmdSelect
  214.         {
  215.             *Order: JOB_SETUP.4
  216.             *Cmd: =PJL_RET_LIGHT
  217.         }
  218.     }
  219.     *Option: Option3
  220.     {
  221.         *rcNameID: =PRINT_QUALITY_MEDIUM
  222.         *Command: CmdSelect
  223.         {
  224.             *Order: JOB_SETUP.4
  225.             *Cmd: =PJL_RET_MEDIUM
  226.         }
  227.     }
  228.     *Option: Option4
  229.     {
  230.         *rcNameID: =PRINT_QUALITY_DARK
  231.         *Command: CmdSelect
  232.         {
  233.             *Order: JOB_SETUP.4
  234.             *Cmd: =PJL_RET_DARK
  235.         }
  236.     }
  237.     *Option: Option5
  238.     {
  239.         *rcNameID: =PRINT_QUALITY_OFF
  240.         *Command: CmdSelect
  241.         {
  242.             *Order: JOB_SETUP.4
  243.             *Cmd: =PJL_RET_OFF
  244.         }
  245.     }
  246. }
  247.  
  248. *%%% ======================
  249. *%%% DOC_SETUP.4
  250. *%%%     RESOLUTION
  251. *%%%     ENTER LANGUAGE=PCLXL
  252. *%%%     PCL XL Stream Header
  253. *%%%     BeginSession
  254. *%%% CmdEndRaster
  255. *%%%     EndImage
  256. *%%% CmdSendBlockData
  257. *%%%     EndImage
  258. *Feature: Resolution
  259. {
  260.     *rcNameID: =RESOLUTION_DISPLAY
  261.     *DefaultOption: Option2
  262.     *Option: Option1
  263.     {
  264.         *Name: "1200 x 1200 " =DOTS_PER_INCH
  265.         *DPI: PAIR(1200, 1200)
  266.         *TextDPI: PAIR(1200, 1200)
  267.         *MinStripBlankPixels: 32
  268.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING, ENCLOSED,TRAILING)
  269.         *SpotDiameter: 120
  270.         *Command: CmdBeginRaster
  271.         {
  272.             *Cmd : =PCLXL_CmdBeginRaster
  273.         }
  274.  
  275.         *Command: CmdSendBlockData
  276.         {
  277.             *Cmd : =PCLXL_CmdBeginRaster =PCLXL_CmdSendBlockData
  278.         }
  279.  
  280.         *% EndImage(0xb2)
  281.         *%
  282.         *Command: CmdEndBlockData { *Cmd : =EndImage}
  283.  
  284.         *Command: CmdSelect
  285.         {
  286.             *Order: JOB_SETUP.5
  287.             *Cmd: =PJL_RESOLUTION_1200 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession1200 =PCLXL_OpenDataSource
  288.         }
  289.     }
  290.     *Option: Option2
  291.     {
  292.         *Name: "600 x 600 " =DOTS_PER_INCH
  293.         *DPI: PAIR(600, 600)
  294.         *TextDPI: PAIR(600, 600)
  295.         *MinStripBlankPixels: 32
  296.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  297.         *SpotDiameter: 100
  298.         *Command: CmdBeginRaster
  299.         {
  300.             *Cmd : =PCLXL_CmdBeginRaster
  301.         }
  302.  
  303.         *Command: CmdEndRaster { *Cmd : =EndImage }
  304.         *Command: CmdSendBlockData
  305.         {
  306.             *Cmd: =PCLXL_CmdSendBlockData
  307.         }
  308.  
  309.         *Command: CmdSelect
  310.         {
  311.             *Order: JOB_SETUP.5
  312.             *Cmd: =PJL_RESOLUTION_600 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600 =PCLXL_OpenDataSource
  313.         }
  314.     }
  315.     *Option: Option3
  316.     {
  317.         *Name: "300 x 300 " =DOTS_PER_INCH
  318.         *DPI: PAIR(300, 300)
  319.         *TextDPI: PAIR(300, 300)
  320.         *MinStripBlankPixels: 32
  321.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  322.         *SpotDiameter: 100
  323.         *Command: CmdBeginRaster
  324.         {
  325.             *Cmd : =PCLXL_CmdBeginRaster
  326.         }
  327.  
  328.         *Command: CmdEndRaster { *Cmd : =EndImage }
  329.         *Command: CmdSendBlockData
  330.         {
  331.             *Cmd: =PCLXL_CmdSendBlockData
  332.         }
  333.  
  334.         *Command: CmdSelect
  335.         {
  336.             *Order: JOB_SETUP.5
  337.             *Cmd: =PJL_RESOLUTION_300 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300 =PCLXL_OpenDataSource
  338.         }
  339.     }
  340. }
  341.  
  342. *Feature: Orientation
  343. {
  344.     *rcNameID: =ORIENTATION_DISPLAY
  345.     *DefaultOption: PORTRAIT
  346.     *Option: PORTRAIT
  347.     {
  348.         *rcNameID: =PORTRAIT_DISPLAY
  349.     }
  350.     *Option: LANDSCAPE_CC90
  351.     {
  352.         *rcNameID: =LANDSCAPE_DISPLAY
  353.     }
  354. }
  355.  
  356. *%%% ======================
  357. *%%% PAGE_SETUP
  358. *%%% ======================
  359.  
  360. *%%% ======================
  361. *%%% PAGE_SETUP.1
  362. *%%% BeginPage(0x43)
  363. *%%%     Orientation(40), MediaSize(37), MediaSource(38)
  364. *%%%     ubyte            ubyte          ubyte
  365. *Feature: PaperSize
  366. {
  367.     *rcNameID: =PAPER_SIZE_DISPLAY
  368.     *DefaultOption: LETTER
  369.     *Option: A5
  370.     {
  371.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  372.         *PageProtectMem: 2125
  373.         *switch: Orientation
  374.         {
  375.             *case: PORTRAIT
  376.             {
  377.                 *PrintableArea: PAIR(6396, 9372)
  378.                 *PrintableOrigin: PAIR(300, 300)
  379.                 *CursorOrigin: PAIR(300, 160)
  380.                 *Command: CmdSelect
  381.                 {
  382.                     *Order: PAGE_SETUP.3
  383.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  384. +                         =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
  385. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  386.  
  387.                 }
  388.             }
  389.             *case: LANDSCAPE_CC90
  390.             {
  391.                 *PrintableArea: PAIR(6396, 9324)
  392.                 *PrintableOrigin: PAIR(300, 300)
  393.                 *CursorOrigin: PAIR(260, 9624)
  394.                 *Command: CmdSelect
  395.                 {
  396.                     *Order: PAGE_SETUP.3
  397.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  398. +                         =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
  399. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  400.  
  401.                 }
  402.             }
  403.         }
  404.     }
  405.     *Option: LETTER
  406.     {
  407.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  408.         *PageProtectMem: 4109
  409.         *switch: Orientation
  410.         {
  411.             *case: PORTRAIT
  412.             {
  413.                 *PrintableArea: PAIR(9600, 12600)
  414.                 *PrintableOrigin: PAIR(300, 300)
  415.                 *CursorOrigin: PAIR(300, 160)
  416.                 *Command: CmdSelect
  417.                 {
  418.                     *Order: PAGE_SETUP.3
  419.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  420. +                         =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
  421. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  422.  
  423.                 }
  424.             }
  425.             *case: LANDSCAPE_CC90
  426.             {
  427.                 *PrintableArea: PAIR(9760, 12600)
  428.                 *PrintableOrigin: PAIR(200, 300)
  429.                 *CursorOrigin: PAIR(200, 12900)
  430.                 *Command: CmdSelect
  431.                 {
  432.                     *Order: PAGE_SETUP.3
  433.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  434. +                         =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
  435. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  436.  
  437.                 }
  438.             }
  439.         }
  440.     }
  441.     *Option: LEGAL
  442.     {
  443.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  444.         *PageProtectMem: 5230
  445.         *switch: Orientation
  446.         {
  447.             *case: PORTRAIT
  448.             {
  449.                 *PrintableArea: PAIR(9600, 16200)
  450.                 *PrintableOrigin: PAIR(300, 300)
  451.                 *CursorOrigin: PAIR(300, 160)
  452.                 *Command: CmdSelect
  453.                 {
  454.                     *Order: PAGE_SETUP.3
  455.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  456. +                         =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
  457. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  458.  
  459.                 }
  460.             }
  461.             *case: LANDSCAPE_CC90
  462.             {
  463.                 *PrintableArea: PAIR(9760, 16200)
  464.                 *PrintableOrigin: PAIR(200, 300)
  465.                 *CursorOrigin: PAIR(200, 16500)
  466.                 *Command: CmdSelect
  467.                 {
  468.                     *Order: PAGE_SETUP.3
  469.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  470. +                         =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
  471. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  472.  
  473.                 }
  474.             }
  475.         }
  476.     }
  477.     *Option: EXECUTIVE
  478.     {
  479.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  480.         *PageProtectMem: 4109
  481.         *switch: Orientation
  482.         {
  483.             *case: PORTRAIT
  484.             {
  485.                 *PrintableArea: PAIR(8100, 12000)
  486.                 *PrintableOrigin: PAIR(300, 300)
  487.                 *CursorOrigin: PAIR(300, 160)
  488.                 *Command: CmdSelect
  489.                 {
  490.                     *Order: PAGE_SETUP.3
  491.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  492. +                         =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
  493. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  494.  
  495.                 }
  496.             }
  497.             *case: LANDSCAPE_CC90
  498.             {
  499.                 *PrintableArea: PAIR(8180, 12000)
  500.                 *PrintableOrigin: PAIR(220, 300)
  501.                 *CursorOrigin: PAIR(200, 12300)
  502.                 *Command: CmdSelect
  503.                 {
  504.                     *Order: PAGE_SETUP.3
  505.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  506. +                         =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
  507. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  508.  
  509.                 }
  510.             }
  511.         }
  512.     }
  513.     *Option: A4
  514.     {
  515.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1008
  516.         *PageProtectMem: 4249
  517.         *switch: Orientation
  518.         {
  519.             *case: PORTRAIT
  520.             {
  521.                 *PrintableArea: PAIR(9352, 13400)
  522.                 *PrintableOrigin: PAIR(260, 300)
  523.                 *CursorOrigin: PAIR(260, 160)
  524.                 *Command: CmdSelect
  525.                 {
  526.                     *Order: PAGE_SETUP.3
  527.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  528. +                         =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
  529. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  530.  
  531.                 }
  532.             }
  533.             *case: LANDSCAPE_CC90
  534.             {
  535.                 *PrintableArea: PAIR(9424, 13428)
  536.                 *PrintableOrigin: PAIR(200, 300)
  537.                 *CursorOrigin: PAIR(200, 13728)
  538.                 *Command: CmdSelect
  539.                 {
  540.                     *Order: PAGE_SETUP.3
  541.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  542. +                         =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
  543. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  544.  
  545.                 }
  546.             }
  547.         }
  548.     }
  549.     *Option: ENV_10
  550.     {
  551.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1019
  552.         *PageProtectMem: 4109
  553.         *switch: Orientation
  554.         {
  555.             *case: PORTRAIT
  556.             {
  557.                 *PrintableArea: PAIR(4346, 10800)
  558.                 *PrintableOrigin: PAIR(300, 300)
  559.                 *switch: Resolution
  560.                 {
  561.                     *case: Option2
  562.                     {
  563.                         *PrintableArea: PAIR(4344, 10800)
  564.                     }
  565.                 }
  566.                 *CursorOrigin: PAIR(300, 180)
  567.                 *Command: CmdSelect
  568.                 {
  569.                     *Order: PAGE_SETUP.3
  570.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  571. +                         =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  572. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  573.  
  574.                 }
  575.             }
  576.             *case: LANDSCAPE_CC90
  577.             {
  578.                 *PrintableArea: PAIR(4476, 10800)
  579.                 *PrintableOrigin: PAIR(200, 300)
  580.                 *CursorOrigin: PAIR(200, 11100)
  581.                 *Command: CmdSelect
  582.                 {
  583.                     *Order: PAGE_SETUP.3
  584.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  585. +                         =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  586. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  587.  
  588.                 }
  589.             }
  590.         }
  591.     }
  592.     *Option: ENV_DL
  593.     {
  594.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1026
  595.         *PageProtectMem: 4109
  596.         *switch: Orientation
  597.         {
  598.             *case: PORTRAIT
  599.             {
  600.                 *PrintableArea: PAIR(4576, 9792)
  601.                 *PrintableOrigin: PAIR(300, 300)
  602.                 *CursorOrigin: PAIR(300, 180)
  603.                 *Command: CmdSelect
  604.                 {
  605.                     *Order: PAGE_SETUP.3
  606.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  607. +                         =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
  608. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  609.  
  610.                 }
  611.             }
  612.             *case: LANDSCAPE_CC90
  613.             {
  614.                 *PrintableArea: PAIR(4796, 9792)
  615.                 *PrintableOrigin: PAIR(200, 300)
  616.                 *CursorOrigin: PAIR(200, 10092)
  617.                 *Command: CmdSelect
  618.                 {
  619.                     *Order: PAGE_SETUP.3
  620.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  621. +                         =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
  622. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  623.  
  624.                 }
  625.             }
  626.         }
  627.     }
  628.     *Option: ENV_C5
  629.     {
  630.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1027
  631.         *PageProtectMem: 4109
  632.         *switch: Orientation
  633.         {
  634.             *case: PORTRAIT
  635.             {
  636.                 *PrintableArea: PAIR(7036, 10214)
  637.                 *PrintableOrigin: PAIR(300, 300)
  638.                 *switch: Resolution
  639.                 {
  640.                     *case: Option3
  641.                     {
  642.                         *PrintableArea: PAIR(7036, 10212)
  643.                     }
  644.                 }
  645.                 *CursorOrigin: PAIR(300, 180)
  646.                 *Command: CmdSelect
  647.                 {
  648.                     *Order: PAGE_SETUP.3
  649.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  650. +                         =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
  651. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  652.  
  653.                 }
  654.             }
  655.             *case: LANDSCAPE_CC90
  656.             {
  657.                 *PrintableArea: PAIR(7056, 10224)
  658.                 *PrintableOrigin: PAIR(300, 300)
  659.                 *CursorOrigin: PAIR(200, 10524)
  660.                 *Command: CmdSelect
  661.                 {
  662.                     *Order: PAGE_SETUP.3
  663.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  664. +                         =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
  665. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  666.  
  667.                 }
  668.             }
  669.         }
  670.     }
  671.     *Option: ENV_MONARCH
  672.     {
  673.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1036
  674.         *PageProtectMem: 4109
  675.         *switch: Orientation
  676.         {
  677.             *case: PORTRAIT
  678.             {
  679.                 *PrintableArea: PAIR(4046, 8400)
  680.                 *PrintableOrigin: PAIR(300, 300)
  681.                 *switch: Resolution
  682.                 {
  683.                     *case: Option3
  684.                     {
  685.                         *PrintableArea: PAIR(4044, 8400)
  686.                     }
  687.                 }
  688.                 *CursorOrigin: PAIR(300, 180)
  689.                 *Command: CmdSelect
  690.                 {
  691.                     *Order: PAGE_SETUP.3
  692.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  693. +                         =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  694. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  695.  
  696.                 }
  697.             }
  698.             *case: LANDSCAPE_CC90
  699.             {
  700.                 *PrintableArea: PAIR(4076, 8400)
  701.                 *PrintableOrigin: PAIR(300, 300)
  702.                 *CursorOrigin: PAIR(200, 8700)
  703.                 *Command: CmdSelect
  704.                 {
  705.                     *Order: PAGE_SETUP.3
  706.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  707. +                         =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  708. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  709.  
  710.                 }
  711.             }
  712.         }
  713.     }
  714.     *Option: CUSTOMSIZE
  715.     {
  716.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1255
  717.         *MinSize: PAIR(3600, 6000)
  718.         *MaxSize: PAIR(10200, 32767)
  719.         *MaxPrintableWidth: 10200
  720.         *MinLeftMargin: 100
  721.         *CenterPrintable?: FALSE
  722.         *PageProtectMem: 1692
  723.         *switch: Orientation
  724.         {
  725.             *case: PORTRAIT
  726.             {
  727.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 300 }
  728.                 *CustCursorOriginY:   %d{140 }
  729.                 *CustPrintableOriginX:  %d{300 }
  730.                 *CustPrintableOriginY:  %d{300}
  731.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 600 }
  732.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 600 }
  733.                 *Command: CmdSelect
  734.                 {
  735.                     *Order: PAGE_SETUP.3
  736.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  737. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  738. +                          =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  739. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  740.  
  741.                 }
  742.             }
  743.             *case: LANDSCAPE_CC90
  744.             {
  745.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 200 }
  746.                 *CustCursorOriginY:   %d{16560 }
  747.                 *CustPrintableOriginX:  %d{200 }
  748.                 *CustPrintableOriginY:  %d{240}
  749.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  750.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  751.                 *Command: CmdSelect
  752.                 {
  753.                     *Order: PAGE_SETUP.3
  754.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  755. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  756. +                         =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  757. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  758.  
  759.                 }
  760.             }
  761.         }
  762.     }
  763. }
  764.  
  765. *%%% ======================
  766. *%%% PAGE_SETUP.2
  767. *%%% BeginPage(0x43)
  768. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
  769. *%%%     ubyte               ubyte             ubyte
  770. *%%%     MediaSource
  771. *Feature: InputBin
  772. {
  773.     *rcNameID: =PAPER_SOURCE_DISPLAY
  774.     *DefaultOption: Option1
  775.     *Option: Option1
  776.     {
  777.         *rcNameID: =FIRST_AVAILABLE_TRAY_DISPLAY
  778.         *Command: CmdSelect
  779.         {
  780.             *Order: PAGE_SETUP.1
  781.             *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
  782.         }
  783.     }
  784.     *Option: Option2
  785.     {
  786.         *rcNameID: =TRAY1_DISPLAY
  787.         *Command: CmdSelect
  788.         {
  789.             *Order: PAGE_SETUP.1
  790.             *Cmd: =ubyte =eMultiPurposeTray =attr_ubyte =MediaSource
  791.         }
  792.     }
  793.     *Option: Option3
  794.     {
  795.         *rcNameID: =TRAY2_DISPLAY
  796.         *Command: CmdSelect
  797.         {
  798.             *Order: PAGE_SETUP.1
  799.             *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
  800.         }
  801.         *Constraints: LIST(PaperSize.A5,PaperSize.ENV_10,PaperSize.ENV_DL,PaperSize.ENV_C5,
  802. +                          PaperSize.ENV_MONARCH,PaperSize.CUSTOMSIZE)
  803.     }
  804.     *Option: Option4
  805.     {
  806.         *rcNameID: =MANUAL_FEED_DISPLAY
  807.         *Command: CmdSelect
  808.         {
  809.             *Order: PAGE_SETUP.1
  810.             *Cmd: =ubyte =eEnvelopeTray =attr_ubyte =MediaSource
  811.         }
  812.     }
  813.     *Option: Option5
  814.     {
  815.         *rcNameID: =TRAY3_DISPLAY
  816.         *Command: CmdSelect
  817.         {
  818.             *Order: PAGE_SETUP.1
  819.             *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
  820.         }
  821.         *Constraints: LIST(PaperSize.A5,PaperSize.ENV_10,PaperSize.ENV_DL,PaperSize.ENV_C5,
  822. +                          PaperSize.ENV_MONARCH,PaperSize.CUSTOMSIZE)
  823.     }
  824. }
  825.  
  826.  
  827. *%%% ======================
  828. *%%% PAGE_SETUP.4
  829. *%%% SetPageOrigin
  830. *%%%     PageOrigin
  831. *%%% SetPageScale
  832. *Command: CmdStartPage
  833. {
  834.     *Order: PAGE_SETUP.4
  835.     *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  836. +         =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  837. }
  838.  
  839. *%%% ======================
  840. *%%% PAGE_SETUP.5
  841. *%%% Feature
  842. *%%% Dither
  843. *Feature: Dither
  844. {
  845.     *rcNameID: =DITHER_QUALITY_DISPLAY
  846.     *DefaultOption: HIQUALITY
  847.     *Option: HIQUALITY
  848.     {
  849.         *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  850.         *Command: CmdSelect
  851.         {
  852.             *Order: PAGE_SETUP.5
  853.             *Cmd:
  854. +         =ubyte "<00>" =attr_ubyte =DitherMatrixDataType
  855. +         =uint16_xy "<10001000>" =attr_ubyte =DitherMatrixSize
  856. +         =ubyte "<02>" =attr_ubyte =DitherMatrixDepth
  857. +         =SetHalftoneMethod
  858. +         =dataLength "<00010000>"
  859. +         "<42786A3C2B1B1E2E4175673A2A1A1D2D>"
  860. +         "<88FDE8531703042484F8E35116030424>"
  861. +         "<99FFD45E1302072195FFCE5B12010721>"
  862. +         "<4ABFAB36280B0F3248BAA735270A0E31>"
  863. +         "<28171B2B3D6C5F3729191C2C3F716439>"
  864. +         "<130203227AEBD64B1502032380F3DE4E>"
  865. +         "<0F01051F8AFFC2551101062090FFC958>"
  866. +         "<2525080B2F43AE9B3226090D3046B5A234>"
  867. +         "<4073653A29191D2D4276693B2A1A1E2E>"
  868. +         "<82F5E1501502042386FAE65216030424>"
  869. +         "<92FFCC5A1101062097FFD15D12020721>"
  870. +         "<47B8A435260A0D3049BDA936270A0E31>"
  871. +         "<29181C2C3E6F623828181C2B3D6E6138>"
  872. +         "<140203237EF0DB4D140203227CEED94C>"
  873. +         "<1001051F8EFFC7571001051F8CFFC456>"
  874. +         "<26090C2F45B3A0342525080C2F44B09D33>"
  875.         }
  876.     }
  877.     *Option: LOQUALITY
  878.     {
  879.         *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  880.     }
  881. }
  882.  
  883.  
  884. *%%% ======================
  885. *%%% PAGE_FINISH
  886. *%%% ======================
  887.  
  888. *%%% ======================
  889. *%%% PAGE_FINISH.3
  890. *Command: CmdEndPage
  891. {
  892.     *Order: PAGE_FINISH.1
  893.     *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  894. }
  895.  
  896. *%%% ======================
  897. *%%% JOB_FINISH.1
  898. *%%% CmdEndJob
  899. *Command: CmdEndJob
  900. {
  901.     *Order: JOB_FINISH.1
  902.     *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  903. }
  904.  
  905.  
  906. *%%% ======================
  907. *%%% Feature
  908. *%%% Memory
  909.  
  910. *Feature: Memory
  911. {
  912.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  913.     *DefaultOption: 4096KB
  914.     *Option: 2048KB
  915.     {
  916.         *Name: "2MB"
  917.         *MemoryConfigKB: PAIR(2048, 1350)
  918.     }
  919.     *Option: 3072KB
  920.     {
  921.         *Name: "3MB"
  922.         *MemoryConfigKB: PAIR(3072, 2250)
  923.     }
  924.     *Option: 4096KB
  925.     {
  926.         *Name: "4MB"
  927.         *MemoryConfigKB: PAIR(4096, 3150)
  928.     }
  929.     *Option: 5120KB
  930.     {
  931.         *Name: "5MB"
  932.         *MemoryConfigKB: PAIR(5120, 4050)
  933.     }
  934.     *Option: 6144KB
  935.     {
  936.         *Name: "6MB"
  937.         *MemoryConfigKB: PAIR(6144, 4950)
  938.     }
  939.     *Option: 7168KB
  940.     {
  941.         *Name: "7MB"
  942.         *MemoryConfigKB: PAIR(7168, 5850)
  943.     }
  944.     *Option: 8192KB
  945.     {
  946.         *Name: "8MB"
  947.         *MemoryConfigKB: PAIR(8192, 6750)
  948.     }
  949.     *Option: 9216KB
  950.     {
  951.         *Name: "9MB"
  952.         *MemoryConfigKB: PAIR(9216, 7650)
  953.     }
  954.     *Option: 10240KB
  955.     {
  956.         *Name: "10MB"
  957.         *MemoryConfigKB: PAIR(10240, 8550)
  958.     }
  959.     *Option: 11264KB
  960.     {
  961.         *Name: "11MB"
  962.         *MemoryConfigKB: PAIR(11264, 9450)
  963.     }
  964.     *Option: 12288KB
  965.     {
  966.         *Name: "12MB"
  967.         *MemoryConfigKB: PAIR(12288, 10350)
  968.     }
  969.     *Option: 13312KB
  970.     {
  971.         *Name: "13MB"
  972.         *MemoryConfigKB: PAIR(13312, 11250)
  973.     }
  974.     *Option: 14336KB
  975.     {
  976.         *Name: "14MB"
  977.         *MemoryConfigKB: PAIR(14336, 12150)
  978.     }
  979.     *Option: 15360KB
  980.     {
  981.         *Name: "15MB"
  982.         *MemoryConfigKB: PAIR(15360, 13050)
  983.     }
  984.     *Option: 16384KB
  985.     {
  986.         *Name: "16MB"
  987.         *MemoryConfigKB: PAIR(16384, 13950)
  988.     }
  989.     *Option: 17408KB
  990.     {
  991.         *Name: "17MB"
  992.         *MemoryConfigKB: PAIR(17408, 14850)
  993.     }
  994.     *Option: 18432KB
  995.     {
  996.         *Name: "18MB"
  997.         *MemoryConfigKB: PAIR(18432, 15750)
  998.     }
  999.     *Option: 19456KB
  1000.     {
  1001.         *Name: "19MB"
  1002.         *MemoryConfigKB: PAIR(19456, 16650)
  1003.     }
  1004.     *Option: 20480KB
  1005.     {
  1006.         *Name: "20MB"
  1007.         *MemoryConfigKB: PAIR(20480, 17550)
  1008.     }
  1009.     *Option: 21504KB
  1010.     {
  1011.         *Name: "21MB"
  1012.         *MemoryConfigKB: PAIR(21504, 18450)
  1013.     }
  1014.     *Option: 22528KB
  1015.     {
  1016.         *Name: "22MB"
  1017.         *MemoryConfigKB: PAIR(22528, 19350)
  1018.     }
  1019.     *Option: 23552KB
  1020.     {
  1021.         *Name: "23MB"
  1022.         *MemoryConfigKB: PAIR(23552, 20250)
  1023.     }
  1024.     *Option: 24576KB
  1025.     {
  1026.         *Name: "24MB"
  1027.         *MemoryConfigKB: PAIR(24576, 21150)
  1028.     }
  1029.     *Option: 25600KB
  1030.     {
  1031.         *Name: "25MB"
  1032.         *MemoryConfigKB: PAIR(25600, 22050)
  1033.     }
  1034.     *Option: 26624KB
  1035.     {
  1036.         *Name: "26MB"
  1037.         *MemoryConfigKB: PAIR(26624, 22950)
  1038.     }
  1039.     *Option: 27648KB
  1040.     {
  1041.         *Name: "27MB"
  1042.         *MemoryConfigKB: PAIR(27648, 23850)
  1043.     }
  1044.     *Option: 28672KB
  1045.     {
  1046.         *Name: "28MB"
  1047.         *MemoryConfigKB: PAIR(28672, 24750)
  1048.     }
  1049.     *Option: 29696KB
  1050.     {
  1051.         *Name: "29MB"
  1052.         *MemoryConfigKB: PAIR(29696, 25650)
  1053.     }
  1054.     *Option: 30720KB
  1055.     {
  1056.         *Name: "30MB"
  1057.         *MemoryConfigKB: PAIR(30720, 26550)
  1058.     }
  1059.     *Option: 31744KB
  1060.     {
  1061.         *Name: "31MB"
  1062.         *MemoryConfigKB: PAIR(31744, 27450)
  1063.     }
  1064.     *Option: 32768KB
  1065.     {
  1066.         *Name: "32MB"
  1067.         *MemoryConfigKB: PAIR(32768, 28350)
  1068.     }
  1069.     *Option: 33792KB
  1070.     {
  1071.         *Name: "33MB"
  1072.         *MemoryConfigKB: PAIR(33792, 29250)
  1073.     }
  1074.     *Option: 34816KB
  1075.     {
  1076.         *Name: "34MB"
  1077.         *MemoryConfigKB: PAIR(34816, 30420)
  1078.     }
  1079.     *Option: 35840KB
  1080.     {
  1081.         *Name: "35MB"
  1082.         *MemoryConfigKB: PAIR(35840, 31050)
  1083.     }
  1084.     *Option: 36864KB
  1085.     {
  1086.         *Name: "36MB"
  1087.         *MemoryConfigKB: PAIR(36864, 31950)
  1088.     }
  1089.     *Option: 37888KB
  1090.     {
  1091.         *Name: "37MB"
  1092.         *MemoryConfigKB: PAIR(37888, 32850)
  1093.     }
  1094.     *Option: 38912KB
  1095.     {
  1096.         *Name: "38MB"
  1097.         *MemoryConfigKB: PAIR(38912, 33750)
  1098.     }
  1099.     *Option: 39936KB
  1100.     {
  1101.         *Name: "39MB"
  1102.         *MemoryConfigKB: PAIR(39936, 34650)
  1103.     }
  1104.     *Option: 40960KB
  1105.     {
  1106.         *Name: "40MB"
  1107.         *MemoryConfigKB: PAIR(40960, 35550)
  1108.     }
  1109.     *Option: 41984KB
  1110.     {
  1111.         *Name: "41MB"
  1112.         *MemoryConfigKB: PAIR(41984, 36450)
  1113.     }
  1114.     *Option: 43008KB
  1115.     {
  1116.         *Name: "42MB"
  1117.         *MemoryConfigKB: PAIR(43008, 37350)
  1118.     }
  1119.     *Option: 44032KB
  1120.     {
  1121.         *Name: "43MB"
  1122.         *MemoryConfigKB: PAIR(44032, 38250)
  1123.     }
  1124.     *Option: 45056KB
  1125.     {
  1126.         *Name: "44MB"
  1127.         *MemoryConfigKB: PAIR(45056, 39150)
  1128.     }
  1129.     *Option: 46080KB
  1130.     {
  1131.         *Name: "45MB"
  1132.         *MemoryConfigKB: PAIR(46080, 40050)
  1133.     }
  1134.     *Option: 47104KB
  1135.     {
  1136.         *Name: "46MB"
  1137.         *MemoryConfigKB: PAIR(47104, 40950)
  1138.     }
  1139.     *Option: 48128KB
  1140.     {
  1141.         *Name: "47MB"
  1142.         *MemoryConfigKB: PAIR(48128, 41850)
  1143.     }
  1144.     *Option: 49152KB
  1145.     {
  1146.         *Name: "48MB"
  1147.         *MemoryConfigKB: PAIR(49152, 42750)
  1148.     }
  1149.     *Option: 50176KB
  1150.     {
  1151.         *Name: "49MB"
  1152.         *MemoryConfigKB: PAIR(50176, 43650)
  1153.     }
  1154.     *Option: 51200KB
  1155.     {
  1156.         *Name: "50MB"
  1157.         *MemoryConfigKB: PAIR(51200, 44550)
  1158.     }
  1159. }
  1160. *%%% ======================
  1161. *%%% Device fonts
  1162. *%%% ======================
  1163.  
  1164. *DefaultFont: =RC_FONT_COURIERR
  1165. *DefaultCTT: 0
  1166.  
  1167. *DeviceFonts: LIST(
  1168. +   =RC_FONT_ALBERTR,   
  1169. +   =RC_FONT_ALBERTX,   
  1170. +   =RC_FONT_AOLIVEB,   
  1171. +   =RC_FONT_AOLIVEI,   
  1172. +   =RC_FONT_AOLIVER,   
  1173. +   =RC_FONT_ARIALB,    
  1174. +   =RC_FONT_ARIALI,    
  1175. +   =RC_FONT_ARIALJ,    
  1176. +   =RC_FONT_ARIALR,    
  1177. +   =RC_FONT_CGOMEGAB,  
  1178. +   =RC_FONT_CGOMEGAI,  
  1179. +   =RC_FONT_CGOMEGAJ,  
  1180. +   =RC_FONT_CGOMEGAR,  
  1181. +   =RC_FONT_CGTIMESB,  
  1182. +   =RC_FONT_CGTIMESI,  
  1183. +   =RC_FONT_CGTIMESJ,  
  1184. +   =RC_FONT_CGTIMESR,  
  1185. +   =RC_FONT_CLARCD,    
  1186. +   =RC_FONT_CORONETR,  
  1187. +   =RC_FONT_COURIERB,  
  1188. +   =RC_FONT_COURIERI,  
  1189. +   =RC_FONT_COURIERJ,  
  1190. +   =RC_FONT_COURIERR,  
  1191. +   =RC_FONT_GARMONDB,  
  1192. +   =RC_FONT_GARMONDI,  
  1193. +   =RC_FONT_GARMONDJ,  
  1194. +   =RC_FONT_GARMONDR,  
  1195. +   =RC_FONT_LETGOTHB,  
  1196. +   =RC_FONT_LETGOTHI,  
  1197. +   =RC_FONT_LETGOTHR,  
  1198. +   =RC_FONT_MARGOLDR,  
  1199. +   =RC_FONT_TIMESNRB,  
  1200. +   =RC_FONT_TIMESNRI,  
  1201. +   =RC_FONT_TIMESNRJ,  
  1202. +   =RC_FONT_TIMESNRR,  
  1203. +   =RC_FONT_UNIVERCB,  
  1204. +   =RC_FONT_UNIVERCI,  
  1205. +   =RC_FONT_UNIVERCJ,  
  1206. +   =RC_FONT_UNIVERCR,  
  1207. +   =RC_FONT_UNIVERSA,  
  1208. +   =RC_FONT_UNIVERSB,  
  1209. +   =RC_FONT_UNIVERSC,  
  1210. +   =RC_FONT_UNIVERSD,  
  1211. +   =RC_FONT_UNIVERSE,  
  1212. +   =RC_FONT_UNIVERSI,  
  1213. +   =RC_FONT_UNIVERSJ,  
  1214. +   =RC_FONT_UNIVERSR,  
  1215. +   =RC_FONT_WINGDINGS, 
  1216. +   =RC_FONT_SYMBOL)
  1217.  
  1218. *% TT font Substituition table for our device fonts
  1219. *% Arial and TNR are substituted in ttfsub.gpd
  1220. *TTFS: AlbertusM
  1221. {
  1222.   *TTFontName: "Albertus Medium"
  1223.   *DevFontName: "Albertus Medium"
  1224. }
  1225. *TTFS: AlbertusX
  1226. {
  1227.   *TTFontName: "Albertus Extra Bold"
  1228.   *DevFontName: "Albertus Extra Bold"
  1229. }
  1230. *TTFS: AntiqueOlive
  1231. {
  1232.   *TTFontName: "Antique Olive"
  1233.   *DevFontName: "Antique Olive"
  1234. }
  1235. *TTFS: CGOmega
  1236. {
  1237.   *TTFontName: "CG Omega"
  1238.   *DevFontName: "CG Omega"
  1239. }
  1240. *TTFS: CGTimes
  1241. {
  1242.   *TTFontName: "CG Times"
  1243.   *DevFontName: "CG Times"
  1244. }
  1245. *TTFS: ClarendonCD
  1246. {
  1247.   *TTFontName: "Clarendon Condensed Bold"
  1248.  *DevFontName: "Clarendon Condensed"
  1249. }
  1250. *TTFS: Coronet
  1251. {
  1252.   *TTFontName: "Coronet"
  1253.   *DevFontName: "Coronet"
  1254. }
  1255. *TTFS: Garamond
  1256. {
  1257.   *TTFontName: "Garamond"
  1258.   *DevFontName: "Garamond"
  1259. }
  1260. *TTFS: LetterGothic
  1261. {
  1262.   *TTFontName: "Letter Gothic"
  1263.   *DevFontName: "Letter Gothic"
  1264. }
  1265. *TTFS: Marigold
  1266. {
  1267.   *TTFontName: "Marigold"
  1268.   *DevFontName: "Marigold"
  1269. }
  1270. *TTFS: Univers
  1271. {
  1272.   *TTFontName: "Univers Medium"
  1273.   *DevFontName: "Univers"
  1274. }
  1275. *TTFS: UniversCD
  1276. {
  1277.   *TTFontName: "Univers Condensed Medium"
  1278.   *DevFontName: "Univers Condensed"
  1279. }
  1280. *TTFS: CourierNew
  1281. {
  1282.   *TTFontName: "Courier New"
  1283.   *DevFontName: "Courier New"
  1284. }
  1285. *% These 4 fonts need to be substituted to match the name that applications use to select the font.  For
  1286. *% some reason the names are different.
  1287. *TTFS: ClarendonCD1
  1288. {
  1289.   *TTFontName: "Clarendon Condensed"
  1290.  *DevFontName: "Clarendon Condensed"
  1291. }
  1292. *TTFS: Univers1
  1293. {
  1294.   *TTFontName: "Univers"
  1295.   *DevFontName: "Univers"
  1296. }
  1297. *TTFS: UniversCD1
  1298. {
  1299.   *TTFontName: "Univers Condensed"
  1300.   *DevFontName: "Univers Condensed"
  1301. }
  1302.  
  1303. *%%% ======================
  1304. *%%% Global Entries
  1305. *%%% Attributes
  1306. *%%% ======================
  1307. *%%%rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  1308. *%%% *rcPrinterIconID:
  1309. *%%% *HelpFile:
  1310.  
  1311. *%%% ======================
  1312. *%%% Printing attributes
  1313. *%%% ======================
  1314. *RotateCoordinate?: TRUE
  1315. *RotateRaster?: TRUE
  1316. *RotateFont?: TRUE
  1317. *EjectPageWithFF?: FALSE
  1318.  
  1319. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1320. *MemoryUsage: LIST(FONT)
  1321. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1322. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1323. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1324. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1325. *XMoveThreshold: 0
  1326. *YMoveThreshold: 0
  1327. *XMoveUnit: 1200
  1328. *YMoveUnit: 1200
  1329.  
  1330. *%%% *MinGrayFill: 1
  1331. *%%% *MaxGrayFill: 100
  1332.  
  1333. *%%% *OutputDataFormat: H_BYTE
  1334. *%%% *OptimizeLeftBound?: TRUE
  1335.  
  1336. *%%% ======================
  1337. *%%% TrueType fonts
  1338. *%%% ======================
  1339. *Feature: TrueTypeFormat
  1340. {
  1341.     *rcNameID: =TRUETYPE_FORMAT
  1342.     *DefaultOption: OUTLINE
  1343.     *Option: OUTLINE
  1344.     {
  1345.         *rcNameID: =TRUETYPE_OUTLINE
  1346.     }
  1347.     *Option: BITMAP
  1348.     {
  1349.         *rcNameID: =TRUETYPE_BITMAP
  1350.     }
  1351.     *Option: GRAPHICS
  1352.     {
  1353.         *rcNameID: =TRUETYPE_GRAPHICS
  1354.     }
  1355. }
  1356.  
  1357. *switch: TrueTypeFormat
  1358. {
  1359.     *case: OUTLINE
  1360.     {
  1361.         *FontFormat: HPPCL_OUTLINE
  1362.     }
  1363.     *case: BITMAP
  1364.     {
  1365.         *FontFormat: HPPCL
  1366.     }
  1367.     *case: GRAPHICS
  1368.     {
  1369.     }
  1370. }
  1371.  
  1372. *CharPosition: BASELINE
  1373. *TTFSEnabled?: TRUE
  1374. *MinFontID: 1
  1375. *MaxFontID: 65535
  1376. *MinGlyphID: 1
  1377. *MaxGlyphID: 1000
  1378.  
  1379. *%%% ======================
  1380. *%%% Cursor commands
  1381. *%%% ======================
  1382.  
  1383. *Command: CmdCR { *Cmd: "" }
  1384. *Command: CmdLF { *Cmd: "" }
  1385. *Command: CmdFF { *Cmd: "" }
  1386.  
  1387. *%%% SetCursor(0x6b)
  1388. *%%%     Point(76(0x40c)) uint_16
  1389. *%%% SetCursorRel(0x6c)
  1390. *%%%     Point(76(0x40c)) uint_16
  1391. *Command: CmdXMoveAbsolute
  1392. {
  1393.     *Cmd: ""
  1394. }
  1395. *Command: CmdXMoveRelRight
  1396. {
  1397.     *Cmd: ""
  1398.     *Params: LIST(DestXRel, TextXRes)
  1399. }
  1400. *Command: CmdXMoveRelLeft
  1401. {
  1402.     *Cmd: ""
  1403.     *Params: LIST(DestXRel, TextXRes)
  1404. }
  1405. *Command: CmdYMoveAbsolute
  1406. {
  1407.     *Cmd: ""
  1408.     *Params: LIST(DestY, TextYRes)
  1409. }
  1410. *Command: CmdYMoveRelDown
  1411. {
  1412.     *Cmd: ""
  1413.     *Params: LIST(DestYRel, TextYRes)
  1414. }
  1415. *Command: CmdYMoveRelUp
  1416. {
  1417.     *Cmd: ""
  1418.     *Params: LIST(DestYRel, TextYRes)
  1419. }
  1420. *%%% *Command: CmdPushCursor
  1421. *%%% *Command: CmdPopCursor
  1422.  
  1423. *%%% =======================
  1424. *%%% Font commands
  1425. *%%% =======================
  1426.  
  1427. *Command: CmdSetFontID { *Cmd : "" }
  1428. *Command: CmdSelectFontID
  1429. {
  1430.     *Cmd: ""
  1431.     *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1432. }
  1433.  
  1434. *Command: CmdSetCharCode
  1435. {
  1436.     *Cmd : ""
  1437. }
  1438.  
  1439. *Command: CmdBoldOn
  1440. {
  1441.     *Cmd : ""
  1442. }
  1443. *Command: CmdBoldOff
  1444. {
  1445.     *Cmd : ""
  1446. }
  1447. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1448. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1449. *%%% *Command: CmdWhiteTextOn:
  1450. *%%% *Command: CmdWhiteTextOff:
  1451. *%%% *Command: CmdSelectSingleByteMode:
  1452. *%%% *Command: CmdSelectDoubleByteMode:
  1453. *Command: CmdSetAnyRotation
  1454. {
  1455.     *Cmd: ""
  1456.     *Params: LIST(PrintDirInCCDegrees)
  1457. }
  1458. *Command: CmdSetSimpleRotation
  1459. {
  1460.     *Cmd: ""
  1461.     *Params: LIST(PrintDirInCCDegrees)
  1462. }
  1463.